using UnityEngine;

public class GuidePanel
{   
    public GameObject Go { get; private set; }
    public Transform Tf { get; private set; }
	public UISprite FullMask_sp { get; private set; }
	public UIWidget Parent_wgt { get; private set; }
	public UIWidget Info_wgt { get; private set; }
	public UISprite Bg_sp { get; private set; }
	public UILabel Info_txt { get; private set; }

    public GuidePanel(GameObject obj)
    {
        Go = obj; Tf = obj.transform;
		FullMask_sp = Tf.Find("FullMask_sp").GetComponent<UISprite>();
		Parent_wgt = Tf.Find("Parent_wgt").GetComponent<UIWidget>();
		Info_wgt = Tf.Find("Info_wgt").GetComponent<UIWidget>();
		Bg_sp = Tf.Find("Info_wgt/Bg_sp").GetComponent<UISprite>();
		Info_txt = Tf.Find("Info_wgt/Info_txt").GetComponent<UILabel>();
    }
}